<{assign var="tpl_page_title" value="装修保详情"}>
<{include file="mobile/block/header.html"}>
<div class="pading admin_banner">
	<a href="<{link ctl='mobile/ucenter:info'}>" style="display:block;">
	<div class="admin_intro"><img src="<{$pager.img}>/<{$MEMBER.face}>" class="lt" />
		<div class="lt">
			<p><{$MEMBER.uname}></p>
			<p>账户类型：<u><{$MEMBER.from_title}></u> </p>
			<p>我的金币：<u><{$MEMBER.gold}></u></p>
		</div>
		<div class="cl"></div>
	</div>
	</a>
</div>

<div class="pding admin_cont">
	<form action="<{link ctl='mobile/ucenter/member:zxb_detail' arg0=$item.zxb_id arg1=$item.status+1}>"  method="post"  onsubmit="return check()" ENCTYPE="multipart/form-data">
    <div class="yuyue_box">
    	<{if $now_status==7}>
                <table cellpadding="0" cellspacing="0">
                    <tr>
                    	  <td> <{if $step.yezhu_status == 1}><span class="block ok_qr">用户</span><{else}><span class="block no_qr">用户</span><{/if}></td>
                    </tr>
                    <tr>
                         <td><{if $step.status == 1}><span class="block ok_qr">平台</span><{else}><span class="block no_qr">平台</span><{/if}></td>
                    </tr>
                    <tr>
                        <td>
                         	<{if $step.yezhu_status == 0 && $step.status == 0}>
                            	<span class="pointcl">请尽快上传完工确认</span>
                            <{elseif $step.yezhu_status == 1 && $step.status == 0}>
                            	<span class="pointcl">请等待平台确认</span>
                            <{else}>
                            	<span class="pointcl">交易已结束</span>
                            <{/if}>
                        </td>
                    </tr>
                </table>
             <{else}>
             		<table cellpadding="0" cellspacing="0">
                        <tr>
                             <td><span class="block ok_qr">平台</span></td>
                        </tr>
                    </table>
             <{/if}>
    </div>
      <input type="hidden" name="step_id" value="<{$step.step_id}>" >
		<table cellpadding="0" cellspacing="0">
         <{if  $step.yezhu_status == 1   && $now_status==7}>
            <tr>
                <td>业主打款证据：<br/> <{if $step.yezhu_photo}><img src="<{$pager.img}>/<{$step.yezhu_photo}>" photo="<{$pager.img}>/<{$step.yezhu_photo}>"/><{/if}></td>
            </tr>
            <tr>
                <td>业主内容：<{$step.yezhu_content}></td>
            </tr>
        	
            <tr>
                <td>平台审核内容：<{$step.content}></td>
             </tr>
          <{/if}>
        </table>
	</form>
</div>
<script>
	jQuery(window).load(function () {
			var width = document.body.clientWidth;
            jQuery("img").each(function () {
                DrawImage(this,width,1000);
            });
        });
        function DrawImage(ImgD, FitWidth, FitHeight) {
            var image = new Image();
            image.src = ImgD.src;
            if (image.width > 0 && image.height > 0) {
                if (image.width / image.height >= FitWidth / FitHeight) {
                    if (image.width > FitWidth) {
                        ImgD.width = FitWidth;
                        ImgD.height = (image.height * FitWidth) / image.width;
                    } else {
                        ImgD.width = image.width;
                        ImgD.height = image.height;
                    }
                } else {
                    if (image.height > FitHeight) {
                        ImgD.height = FitHeight;
                        ImgD.width = (image.width * FitHeight) / image.height;
                    } else {
                        ImgD.width = image.width;
                        ImgD.height = image.height;
                    }
                }
            }
        }
</script>
<{include file="mobile/block/footer.html"}>
